/*
package com.easylinkin.linkappapi.alarm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.alarm.entity.AlarmRule;
import com.easylinkin.linkappapi.device.entity.Device;
import java.util.List;
import org.apache.ibatis.annotations.Param;

*/
/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Tongjie
 * @since 2020-04-25
 *//*

public interface AlarmRuleMapper extends BaseMapper<AlarmRule> {

    IPage<AlarmRule> getAlarmRules(Page page, @Param("alarmRule") AlarmRule alarmRule, @Param("currentUserId") String currentUserId);

    List<AlarmRule> getAlarmRules(@Param("alarmRule") AlarmRule alarmRule, @Param("currentUserId") String currentUserId);

    AlarmRule getAlarmRule(@Param("id") String id);

    List<AlarmRule> getAlarmRulesByDevice(@Param("device") Device device);

    List<AlarmRule> getAlarmRulesAndExpressions(@Param("alarmRule") AlarmRule alarmRule, @Param("device") Device device);
}
*/
